<template>
  <div>
    <!-- 隐藏，显示 -->
    <h1 @click="fals = !fals">猪猪侠</h1>
    <h1 v-if="fals">超人强</h1>
    <h1 v-show="fals">小呆呆</h1>
  </div>
</template>

<script>
export default {
  components: {},
  props: {},
  data() {
    return {
      fals: false,
    };
  },
  computed: {},
  watch: {},
  created() {},
  methods: {},
};
</script>

<style scoped></style>
